package com.geoway.adf.report.excel.sheet;

import com.alibaba.fastjson2.JSONArray;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author: lzw
 * @Date: 2024/1/17 16:33
 * @Description: 数据透视表设置
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString
public class PivotTable {

    private Range pivot_select_save;
    /**
     * 源数据所在的sheet页
     */
    private Byte pivotDataSheetIndex;

    private List<Header> column;
    private List<Header> row;
    private List<SubHeader> values;
    private JSONArray filter;
    private String showType;
    /**
     * 数据透视表的源数据
     */
    private List<List<Object>> pivotDatas;
    private String drawPivotTable;
    private List<Integer> pivotTableBoundary;
}
